package com.bootdo.program.wallpaper.service;

import com.bootdo.program.wallpaper.dao.BzNoticeDao;
import com.bootdo.program.wallpaper.domain.BzNoticeDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class BzNoticeService  {
	@Autowired
	private BzNoticeDao bzNoticeDao;
	
	
	public BzNoticeDO get(Integer id){
		return bzNoticeDao.get(id);
	}
	
	
	public List<BzNoticeDO> list(Map<String, Object> map){
		return bzNoticeDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return bzNoticeDao.count(map);
	}
	
	
	public int save(BzNoticeDO bzNotice){
		return bzNoticeDao.save(bzNotice);
	}
	
	
	public int update(BzNoticeDO bzNotice){
		return bzNoticeDao.update(bzNotice);
	}
	
	
	public int remove(Integer id){
		return bzNoticeDao.remove(id);
	}
	
	
	public int batchRemove(Integer[] ids){
		return bzNoticeDao.batchRemove(ids);
	}
	
}
